﻿/* 
 * Godtear.com
 * QQ:bzure@189.cn
 *Author:Nathan Liu
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bzure.Common.Core;

namespace Bzure.Security.Permissions
{
    [EnumStringsAttribute(typeof(RoleType), "团体角色", "树角色")]
    public enum RoleType
    {
        TeamRole = 1,
        TreeRole = 2
    }
    public interface ISecurityRole : IEntity, IPersistenceState 
    {
        string ID { get; }
        /// <summary>
        /// 角色类型
        /// </summary>
        RoleType RoleType { get; }
        /// <summary>
        /// 角色描述
        /// </summary>
        string RoleDescription { get; }
    }
}
